package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * 用户专业
 *
 * @author flyme
 * @date 2020-12-16
 */
@Data
@Accessors(chain = true)
@TableName("bus_user_major")
@TableAlias("bum")
@ApiModel(value = "BusUserMajor对象", description = "用户专业")
public class BusUserMajor {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "userMajorId", type = IdType.ID_WORKER)
    private Long userMajorId;

    private Long userId;

    private Long majorId;

}
